Skip to main content

Interface: Gain

Hierarchy

Properties

mute

mute: boolean


node

Readonly node: GainNode

Methods

connect

connect(destinationNode, output?, input?): AudioNode

Parameters

NameType
destinationNodeAudioNode
output?number
input?number

Returns

AudioNode

Inherited from

BaseAudioNode.connect

connect(destinationParam, output?): void

Parameters

NameType
destinationParamAudioParam
output?number

Returns

void

Inherited from

BaseAudioNode.connect


disconnect

disconnect(): void

Returns

void

Inherited from

BaseAudioNode.disconnect

disconnect(output): void

Parameters

NameType
outputnumber

Returns

void

Inherited from

BaseAudioNode.disconnect

disconnect(destinationNode): void

Parameters

NameType
destinationNodeAudioNode

Returns

void

Inherited from

BaseAudioNode.disconnect

disconnect(destinationNode, output): void

Parameters

NameType
destinationNodeAudioNode
outputnumber

Returns

void

Inherited from

BaseAudioNode.disconnect

disconnect(destinationNode, output, input): void

Parameters

NameType
destinationNodeAudioNode
outputnumber
inputnumber

Returns

void

Inherited from

BaseAudioNode.disconnect

disconnect(destinationParam): void

Parameters

NameType
destinationParamAudioParam

Returns

void

Inherited from

BaseAudioNode.disconnect

disconnect(destinationParam, output): void

Parameters

NameType
destinationParamAudioParam
outputnumber

Returns

void

Inherited from

BaseAudioNode.disconnect